package com.example.demo.mapper;

import com.example.demo.entity.GuideItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface GuideItemMapper {
    @Select("SELECT * FROM guide_item WHERE guide_id = #{guideId} ORDER BY type, sort")
    List<GuideItem> selectByGuideId(Long guideId);
}
